<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Document</title>
    <link rel="stylesheet" href="http://static.runoob.com/assets/foundation-5.5.3/foundation.min.css">
    <link rel="stylesheet" href="http://static.runoob.com/assets/foundation-icons/foundation-icons.css">
    <script src="http://static.runoob.com/assets/jquery/2.0.3/jquery.min.js"></script>
    <script src="http://static.runoob.com/assets/foundation-5.5.3/js/foundation.min.js"></script>
    <script src="http://static.runoob.com/assets/foundation-5.5.3/js/vendor/modernizr.js"></script>
</head>
<body>
<b>编辑</b>
<table>
    <form action="<?php echo U('doEdit');?>" method="post">
        <input type="hidden" name="uid" value='<?php echo ($user["uid"]); ?>'>
        <tr>
            <td>用户名<?php echo ($user["uname"]); ?></td>
            <td>昵称 <input type="text" name="uni"   value="<?php echo ($user["uni"]); ?>"></td>
            <td>密码<input type="password" name="pwd"  placeholder="密码" value="<?php echo ($user["pwd"]); ?>"></td>
            <td>邮箱<input type="email" name="email" value="<?php echo ($user["email"]); ?>"></td>
            <td>手机<input type="text" name="tel" value="<?php echo ($user["tel"]); ?>"></td>

        </tr>
        <tr><input class="button tiny" type="submit" name="sub" value="保存"></tr>
    </form>
</table>
</body>
</html>